package com.zzf.mall.dto;

import com.zzf.mall.vo.SkuInfoVO;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 封装SKU相关信息，保存到Redis中的传输对象
 *
 * @Author 赵振飞
 * @Date 2022/11/11
 * @Version 1.0
 */
@Data
public class SeckillSkuRedisDTO {


    private Long promotionSessionId;

    private Long skuId;

    private BigDecimal seckillPrice;

    private BigDecimal seckillCount;

    private BigDecimal seckillLimit;

    private Integer seckillSort;



    private Long startTime;
    private Long endTime;
    // 随机码
    private String randCode;

    private SkuInfoVO skuInfoVO;

}